misc {
disable_hyprland_logo = true
disable_splash_rendering = true
}

exec = gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
exec = gsettings set org.gnome.desktop.wm.preferences theme "Colloid-Pink-Dark"
exec = gsettings set org.gnome.desktop.interface cursor-size 5

exec = gsettings set org.gnome.desktop.interface font-name "Noto Sans Light 13"
exec = gsettings set org.gnome.desktop.interface icon-theme "Colloid-Pink-Dark"
exec = gsettings set org.gnome.desktop.interface cursor-theme "Adwaita"

xwayland {
  force_zero_scaling = true
}

$fileManager = nautilus

env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE=,wayland
env = XDG_SESSION_DESKTOP="Hyprland";
env = QT_AUTO_SCREEN_SCALE_FACTOR=,1
env = QT_QPA_PLATFORM=,wayland
env = QT_QPA_PLATFORMTHEME="gtk3";
env = WLR_NO_HARDWARE_CURSORS,1

#Михаил Звуков
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
binde=, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# Media player controls
bind =, XF86AudioPause, exec, 
bind = , XF86AudioStop, exec, playerctl stop
bindl = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPrev, exec, playerctl previous
bind = SUPER, KP_ADD, exec, notify-send 𝐌𝐄𝐑𝐂𝐄𝐍𝐀𝐑𝐘 && imv /home/anime/Pictures/jumbo-wagner.gif


xwayland {
  force_zero_scaling = true
}

bind =, XF86HomePage, workspace, 20
bind =, XF86HomePage, workspace, 10
bind = SUPER, X, exec, kitty wev

misc { 
    force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}


# Monitor details
monitor = DP-1,1920x1080@67,1280x1366,1
monitor = HDMI-A-1,1366x768@67,1366x599,1
monitor = DP-2,1280x1024@76,0x1280,1

#-- Output ----------------------------------------------------
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
workspace = 8, monitor:DP-2
workspace = 9, monitor:DP-2
workspace = 10, monitor:DP-2

#monitor=DP-1,1920x1080@60,0x0,1
workspace = 1, monitor:DP-1
workspace = 2, monitor:DP-1
workspace = 3, monitor:DP-1
workspace = 4, monitor:DP-1
workspace = 5, monitor:DP-1
workspace = 6, monitor:DP-1
workspace = 7, monitor:DP-1

workspace = 11, monitor:HDMI-A-1
workspace = 12, monitor:HDMI-A-1
workspace = 13, monitor:HDMI-A-1
workspace = 14, monitor:HDMI-A-1
workspace = 15, monitor:HDMI-A-1
workspace = 16, monitor:HDMI-A-1
workspace = 17, monitor:HDMI-A-1
workspace = 18, monitor:HDMI-A-1
workspace = 19, monitor:HDMI-A-1
workspace = 20, monitor:HDMI-A-1
workspace = 21, monitor:HDMI-A-1
workspace = 22, monitor:HDMI-A-1


#--- АВТОСТАРТ ----------------------------------------------------------------
exec-once = telegram-desktop -startintray
exec-once = bash scripts/swaybg.sh
#exec-once = swaybg -i /home/anime/Pictures/Lol.jpg
#exec-once = hyprpaper -c ~/.config/hyprpaper/hyprpaper.conf 
exec-once = bash scripts/mpvpaper.sh
#-----------------------------------------------------------------------------
exec-once = wl-clip-persist --clipboard primary
exec-once = wl-clipboard-history -t
exec-once = wl-paste --watch cliphist store
exec-once = wl-paste --type text --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store #Stores only image data

#-------------------------------------------------------------------------------
exec-once = waybar -c /home/anime/.config/waybar/config
exec-once = kdeconnect-cli -a
exec-once = kdeconnect-cli
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = wlsunset -l 39.9

#--- ПОДКЛЮЧЕНИЕ ДОПОЛНИТЕЛЬНЫХ ФАЙЛОВ С КОНФИГОМ  ----------------------------
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

#--- РАСКЛАДКА КЛАВИАТУРЫ -----------------------------------------------------
input {
    kb_layout = us,ru
    kb_variant =
    kb_model =
    kb_options = grp:caps_toggle
    kb_rules =

   follow_mouse = 1
	sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
	numlock_by_default = false


    touchpad {
        natural_scroll = false
    }
}


#--- gaps -------------------------------------------------

general {

gaps_in = 2
gaps_out = 1
border_size = 4
no_border_on_floating = false
#apply_sens_to_raw=0

#col.active_border = rgb(c267ca) rgb(70b7e8) rgb(aed0ff) 45deg
# col.active_border = rgb(c28431) rgb(a98452) rgb(099ddc) 45deg
#col.inactive_border = rgb(70b7e8) rgb(9f67ca) rgb(c267ca) 45deg

}
#--- animations -----------------------------------------------------------------
animations {
    enabled = true

	bezier = linear,0,0,1,1
	animation = borderangle,1,100,linear,loop
    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 90%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}


#--- НАСТРОЙКА ЛАЙОУТОВ -------------------------------------------------------
dwindle {
    pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # you probably want this
}



# #--- ЖЕСТЫ --------------------------------------------------------------------
gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = false
}



#--- ПРАВИЛА ОКОН -------------------------------------------------------------

windowrulev2 = float, title:keepassxc
windowrulev2 = float, class:corectrl
windowrulev2 = float, class:songrec
windowrulev2 = float, class:kdeconnect
windowrulev2 = float, class:kalk

#-------------------------------------------------------------------------------------
#--- КЛАВИША МОДИФИКАТОР ------------------------------------------------------
#-------------------------------------------------------------------------------------
$mainMod = SUPER

#-------------------------------------------------------------------------------------
#--- ЗАПУСК ПРИЛОЖЕНИЙ --------------------------------------------------------
#-------------------------------------------------------------------------------------
bind = $mainMod, RETURN, exec, kitty
#---------------------------------------------------------
bind = SUPER, W, exec, bash /home/anime/scripts/wofi-cast.sh
bind = SUPER SHIFT, F, exec, nautilus
bind = CTRL SHIFT, F, exec,  firefox 
#---------------------------------------------------------
bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
#---------------------------------------------------------
bind = CTRL SHIFT, P, exec, bash /home/anime/.local/share/applications/PortProton.desktop
bind = SUPER CTRL, B, exec, notify-send kampf | bash /home/anime/Downloads/tor-browser-linux-x86_64-14.0.6/tor-browser/Browser/firefox  
#keyboard
 bind = SUPER, equal, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
bind = SUPER, minus, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-
bind = SUPER ALT ,SPACE, exec, playerctl stop
bind = SUPER, SPACE, exec, playerctl play-pause
bind = SUPER SHIFT, equal, exec, playerctl next
bind =SUPER SHIFT, minus, exec, playerctl previous
#-

#---------------------------------------------------------
bind = SUPER SHIFT, Y, exec, bash /home/anime/scripts/wl-record.sh 
#---------------------------------------------------------
bind = ALT, S, exec, killall spoofdpi && spoofdpi | notify-send spoofdpi
bind = $mainMod SHIFT, T, exec, telegram-desktop -startintray 
bind = $mainMod SHIFT, S, exec, LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify

bind = $mainMod, D, exec, wofi --show drun
#bind = $mainMod, D, exec, wofi --show drun -c ~/.config/wofi/config -s ~/.config/wofi/style.css

bind = CTRL SHIFT, k, exec, keepassxc
bind = SUPER, M, exec, killall waybar && waybar 

#---------------------------------------------------------
#wallpaper
#---------------------------------------------------------

bind = SUPER CTRL, W, exec, killall swaybg && bash ~/scripts/swaybg.sh 
#bind = SUPER SHIFT, W, exec, killall swaybg && hyprpaper -c .config/hyprpaper/hyprpaper.conf  
bind = SUPER SHIFT, W, exec, killall swaybg && bash ~/scripts/swaybg2.sh 
#bind = SUPER, W, exec, killall mpvpaper && bash ~/scripts/swaybg.sh 
bind = SUPER CTRL, W, exec, killall waybar && waybar -c /home/anime/.config/waybar/config
bind = SUPER SHIFT, W, exec, killall waybar && waybar -c /home/anime/.config/waybar/config2
#---------------------------------------------------------
bind = CTRL SHIFT, T, exec, chromium
bind = CTRL SHIFT, G, exec, google-chrome-stable
bind = $mainMod SHIFT, E, exec, nwg-bar -x -i 59 -x && cliphist wipe
#-------------------------------------------------------------------------------------
#--- ХОТКЕИ -------------------------------------------------------------------
#-------------------------------------------------------------------------------------
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, SPACE, togglefloating,
bind = SUPER,F,fullscreen,


#-------------------------------------------------------------------------------------
#--- ScreenNonShot -------------------------------------------------------------------
#-------------------------------------------------------------------------------------
bind = , Print, exec, grim -g "$(slurp)" ~/ScreenNonShot/screen-"$(date +%s)".png 
bind = alt , Print, exec, grim -o DP-1 ~/ScreenNonShot/screen-"$(date +%s)".png && notify-send ScreenShot
#-------------------------------------------------------------------------------------
#--- ПЕРЕКЛЮЧЕНИЕ ФОКУСА ------------------------------------------------------
#-------------------------------------------------------------------------------------
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

bind = $mainMod SHIFT, left, swapwindow, l
bind = $mainMod SHIFT, right, swapwindow, r
bind = $mainMod SHIFT, up, swapwindow, u
bind = $mainMod SHIFT, down, swapwindow, d



#-------------------------------------------------------------------------------------
#-- Decoration ----------------------------------------------------
# Decoration settings like Rounded Corners, Opacity, Blur, etc.
decoration {
    rounding = 8

	 blur {
        enabled = true
        size = 1
        passes = 0
    
    }


}

#--- ПЕРЕКЛЮЧЕНИЕ ВОРКСПЕЙСОВ -------------------------------------------------
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

bind = $mainMod CTRL, 1, workspace, 11
bind = $mainMod CTRL, 2, workspace, 12
bind = $mainMod CTRL, 3, workspace, 13
bind = $mainMod CTRL, 4, workspace, 14
bind = $mainMod CTRL, 5, workspace, 15
bind = $mainMod CTRL, 6, workspace, 16
bind = $mainMod CTRL, 7, workspace, 17
bind = $mainMod CTRL, 8, workspace, 18
bind = $mainMod CTRL, 9, workspace, 19
bind = $mainMod CTRL, 0, workspace, 20
#bind = $mainMod CTRL, 11, workspace, 21
#bind = $mainMod CTRL, 12, workspace, 22

#--- ПЕРЕМЕЩЕНИЕ ОКОН НА ДРУГОЙ ВОРКСПЕЙС -------------------------------------
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10

bind = $mainMod SHIFT, F1, movetoworkspacesilent, 11
bind = $mainMod SHIFT, F2, movetoworkspacesilent, 12
bind = $mainMod SHIFT, F3, movetoworkspacesilent, 13
bind = $mainMod SHIFT, F4, movetoworkspacesilent, 14
bind = $mainMod SHIFT, F5, movetoworkspacesilent, 15
bind = $mainMod SHIFT, F6, movetoworkspacesilent, 16
bind = $mainMod SHIFT, F7, movetoworkspacesilent, 17
bind = $mainMod SHIFT, F8, movetoworkspacesilent, 18
bind = $mainMod SHIFT, F9, movetoworkspacesilent, 19
bind = $mainMod SHIFT, F10, movetoworkspacesilent, 20
bind = $mainMod SHIFT, F11, movetoworkspacesilent, 21
bind = $mainMod SHIFT, F12, movetoworkspacesilent, 22
#--- ПЕРЕХОД ПО ВОРКСПЕЙСАМ КОЛЕСОМ МЫШИ --------------------------------------
bind = $mainMod, mouse_down, workspace, e-1
bind = $mainMod, mouse_up, workspace, e+1
#--- ПЕРЕМЕЩЕНИЕ И РЕСАЙЗ ОКОН МЫШЬЮ ------------------------------------------
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

bind = $mainMod CTRL, left, resizeactive,-50 0
bind = $mainMod CTRL, right, resizeactive,50 0
bind = $mainMod CTRL, up, resizeactive,0 -50
bind = $mainMod CTRL, down, resizeactive,0 50
#------------------------------------------------------------------------------


